//
//  RegViewController.h
//  MyShoes
//
//  Created by mac on 11-6-26.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MBProgressHUD.h"

#import "NewNetWork.h"
#import "TCPRequest.h"
#import "ASIFormDataRequest.h"
#import "ASINetworkQueue.h"
@protocol BandingDelegate <NSObject>
-(void)bandingSuccess;

@end

@interface BangDing_ViewControl : UIViewController<UITextFieldDelegate,UITableViewDelegate,UITableViewDataSource,newNetWorkDelegate,TCPNetWorkDelegate,AsyncSocketDelegate,ASIHTTPRequestDelegate> {
	UITableView *dataTableView;
	UITextField *usernameField;
	UITextField *passwordField;
	UITextField *repasswordField;
	UITextField *tuijianrenField;
    
    
	MBProgressHUD *HUD;
	BOOL isWorking;
    int Request_Type;
    
    
    NewNetWork* net_work;
    
    TCPRequest* tcpRequest;
    
    NSInteger count;
    
    
   NSMutableDictionary* tcpDic1;
    
    BOOL isUsingTengxunyun;//判断是否使用腾讯云
    
    
    NSLock* lock;
    
    
    BOOL isLock;
    
    NSArray* dispatchUrls;
    
    
    UInt64 startTime;
    UInt64 endTime;

    BOOL blnRequestBinding;//判断是否正在绑定中
   // int tongji;
    NSString* keFuCall;
	
}

@property (nonatomic,retain) id<BandingDelegate> delegate;
//@property (nonatomic,retain) UITableView *dataTableView;
@property (nonatomic,retain) UITextField *usernameField;
@property (nonatomic,retain) UITextField *passwordField;
@property (nonatomic,retain) UITextField *repasswordField;
@property (nonatomic,retain) UITextField *tuijianrenField;

@property (nonatomic,retain) ASINetworkQueue* networkQueue;
@property (nonatomic,retain) NSString* theResponseString;
@property (nonatomic,retain)NSString* nsStrUserPhoneNum;
@property (nonatomic,retain)NSString* nsStrPwd;
//
@end
